class AddPrefsForUsers < ActiveRecord::Migration
  def self.up
    add_column :users, :pref1, :string 
    add_column :users, :pref2, :string 
    add_column :users, :pref3, :string 
    add_column :users, :pref4, :string 
    add_column :users, :pref5, :string 
    add_column :users, :pref6, :string 
    add_column :users, :pref7, :string 
    add_column :users, :pref8, :string 
    add_column :users, :pref9, :string 
    add_column :users, :pref10, :string 
  end

  def self.down
    remove_column :users, :pref1
    remove_column :users, :pref2
    remove_column :users, :pref3 
    remove_column :users, :pref4
    remove_column :users, :pref5 
    remove_column :users, :pref6 
    remove_column :users, :pref7 
    remove_column :users, :pref8
    remove_column :users, :pref9 
    remove_column :users, :pref10
  end
end
